package com.test.dataSource.config;

import java.lang.annotation.*;

@Target({ElementType.METHOD, ElementType.TYPE})
@Retention(RetentionPolicy.RUNTIME)
@Documented
public @interface SwitchDataSource {
    //赋值 0 和 1
    String dataSource() default "";

    /**
     * 清除
     * @return
     */
    boolean clear() default true;
}
